import request from '@/utils/request'

// 查询账号监测查询记录列表
export function listQuery(query) {
  return request({
    url: '/account/monitoring/query/list',
    method: 'get',
    params: query
  })
}

// 查询账号监测查询记录详细
export function getQuery(id) {
  return request({
    url: '/account/query/' + id,
    method: 'get'
  })
}

// 新增账号监测查询记录
export function addQuery(data) {
  return request({
    url: '/account/query',
    method: 'post',
    data: data
  })
}

// 修改账号监测查询记录
export function updateQuery(data) {
  return request({
    url: '/account/query',
    method: 'put',
    data: data
  })
}

// 删除账号监测查询记录
export function delQuery(id) {
  return request({
    url: '/account/query/' + id,
    method: 'delete'
  })
}

// 导出账号监测查询记录
export function exportQuery(query) {
  return request({
    url: '/account/query/export',
    method: 'get',
    params: query
  })
}